(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined,
"[project]/node_modules/next/dist/compiled/process/browser.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
(function() {
var e = {
229: function(e) {
var t = e.exports = {};
var r;
var n;
function defaultSetTimout() {
throw new Error("setTimeout has not been defined");
}
function defaultClearTimeout() {
throw new Error("clearTimeout has not been defined");
}
(function() {
try {
if (typeof setTimeout === "function") {
r = setTimeout;
} else {
r = defaultSetTimout;
}
} catch (e) {
r = defaultSetTimout;
}
try {
if (typeof clearTimeout === "function") {
n = clearTimeout;
} else {
n = defaultClearTimeout;
}
} catch (e) {
n = defaultClearTimeout;
}
})();
function runTimeout(e) {
if (r === setTimeout) {
return setTimeout(e, 0);
}
if ((r === defaultSetTimout || !r) && setTimeout) {
r = setTimeout;
return setTimeout(e, 0);
}
try {
return r(e, 0);
} catch (t) {
try {
return r.call(null, e, 0);
} catch (t) {
return r.call(this, e, 0);
}
}
}
function runClearTimeout(e) {
if (n === clearTimeout) {
return clearTimeout(e);
}
if ((n === defaultClearTimeout || !n) && clearTimeout) {
n = clearTimeout;
return clearTimeout(e);
}
try {
return n(e);
} catch (t) {
try {
return n.call(null, e);
} catch (t) {
return n.call(this, e);
}
}
}
var i = [];
var o = false;
var u;
var a = -1;
function cleanUpNextTick() {
if (!o || !u) {
return;
}
o = false;
if (u.length) {
i = u.concat(i);
} else {
a = -1;
}
if (i.length) {
drainQueue();
}
}
function drainQueue() {
if (o) {
return;
}
var e = runTimeout(cleanUpNextTick);
o = true;
var t = i.length;
while(t){
u = i;
i = [];
while(++a < t){
if (u) {
u[a].run();
}
}
a = -1;
t = i.length;
}
u = null;
o = false;
runClearTimeout(e);
}
t.nextTick = function(e) {
var t = new Array(arguments.length - 1);
if (arguments.length > 1) {
for(var r = 1; r < arguments.length; r++){
t[r - 1] = arguments[r];
}
}
i.push(new Item(e, t));
if (i.length === 1 && !o) {
runTimeout(drainQueue);
}
};
function Item(e, t) {
this.fun = e;
this.array = t;
}
Item.prototype.run = function() {
this.fun.apply(null, this.array);
};
t.title = "browser";
t.browser = true;
t.env = {};
t.argv = [];
t.version = "";
t.versions = {};
function noop() {}
t.on = noop;
t.addListener = noop;
t.once = noop;
t.off = noop;
t.removeListener = noop;
t.removeAllListeners = noop;
t.emit = noop;
t.prependListener = noop;
t.prependOnceListener = noop;
t.listeners = function(e) {
return [];
};
t.binding = function(e) {
throw new Error("process.binding is not supported");
};
t.cwd = function() {
return "/";
};
t.chdir = function(e) {
throw new Error("process.chdir is not supported");
};
t.umask = function() {
return 0;
};
}
};
var t = {};
function __nccwpck_require__(r) {
var n = t[r];
if (n !== undefined) {
return n.exports;
}
var i = t[r] = {
exports: {}
};
var o = true;
try {
e[r](i, i.exports, __nccwpck_require__);
o = false;
} finally{
if (o) delete t[r];
}
return i.exports;
}
if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = ("TURBOPACK compile-time value", "/ROOT/node_modules/next/dist/compiled/process") + "/";
var r = __nccwpck_require__(229);
module.exports = r;
})();
}),
"[project]/node_modules/next/dist/compiled/react-refresh/cjs/react-refresh-runtime.development.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
"use strict";
/**
* @license React
* react-refresh-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [client] (ecmascript)");
'use strict';
if ("TURBOPACK compile-time truthy", 1) {
(function() {
'use strict';
// ATTENTION
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
var REACT_MEMO_TYPE = Symbol.for('react.memo');
var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map; // We never remove these associations.
// It's OK to reference families, but use WeakMap/Set for types.
var allFamiliesByID = new Map();
var allFamiliesByType = new PossiblyWeakMap();
var allSignaturesByType = new PossiblyWeakMap(); // This WeakMap is read by React, so we only put families
// that have actually been edited here. This keeps checks fast.
// $FlowIssue
var updatedFamiliesByType = new PossiblyWeakMap(); // This is cleared on every performReactRefresh() call.
// It is an array of [Family, NextType] tuples.
var pendingUpdates = []; // This is injected by the renderer via DevTools global hook.
var helpersByRendererID = new Map();
var helpersByRoot = new Map(); // We keep track of mounted roots so we can schedule updates.
var mountedRoots = new Set(); // If a root captures an error, we remember it so we can retry on edit.
var failedRoots = new Set(); // In environments that support WeakMap, we also remember the last element for every root.
// It needs to be weak because we do this even for roots that failed to mount.
// If there is no WeakMap, we won't attempt to do retrying.
// $FlowIssue
var rootElements = typeof WeakMap === 'function' ? new WeakMap() : null;
var isPerformingRefresh = false;
function computeFullKey(signature) {
if (signature.fullKey !== null) {
return signature.fullKey;
}
var fullKey = signature.ownKey;
var hooks;
try {
hooks = signature.getCustomHooks();
} catch (err) {
// This can happen in an edge case, e.g. if expression like Foo.useSomething
// depends on Foo which is lazily initialized during rendering.
// In that case just assume we'll have to remount.
signature.forceReset = true;
signature.fullKey = fullKey;
return fullKey;
}
for(var i = 0; i < hooks.length; i++){
var hook = hooks[i];
if (typeof hook !== 'function') {
// Something's wrong. Assume we need to remount.
signature.forceReset = true;
signature.fullKey = fullKey;
return fullKey;
}
var nestedHookSignature = allSignaturesByType.get(hook);
if (nestedHookSignature === undefined) {
continue;
}
var nestedHookKey = computeFullKey(nestedHookSignature);
if (nestedHookSignature.forceReset) {
signature.forceReset = true;
}
fullKey += '\n---\n' + nestedHookKey;
}
signature.fullKey = fullKey;
return fullKey;
}
function haveEqualSignatures(prevType, nextType) {
var prevSignature = allSignaturesByType.get(prevType);
var nextSignature = allSignaturesByType.get(nextType);
if (prevSignature === undefined && nextSignature === undefined) {
return true;
}
if (prevSignature === undefined || nextSignature === undefined) {
return false;
}
if (computeFullKey(prevSignature) !== computeFullKey(nextSignature)) {
return false;
}
if (nextSignature.forceReset) {
return false;
}
return true;
}
function isReactClass(type) {
return type.prototype && type.prototype.isReactComponent;
}
function canPreserveStateBetween(prevType, nextType) {
if (isReactClass(prevType) || isReactClass(nextType)) {
return false;
}
if (haveEqualSignatures(prevType, nextType)) {
return true;
}
return false;
}
function resolveFamily(type) {
// Only check updated types to keep lookups fast.
return updatedFamiliesByType.get(type);
} // If we didn't care about IE11, we could use new Map/Set(iterable).
function cloneMap(map) {
var clone = new Map();
map.forEach(function(value, key) {
clone.set(key, value);
});
return clone;
}
function cloneSet(set) {
var clone = new Set();
set.forEach(function(value) {
clone.add(value);
});
return clone;
} // This is a safety mechanism to protect against rogue getters and Proxies.
function getProperty(object, property) {
try {
return object[property];
} catch (err) {
// Intentionally ignore.
return undefined;
}
}
function performReactRefresh() {
if (pendingUpdates.length === 0) {
return null;
}
if (isPerformingRefresh) {
return null;
}
isPerformingRefresh = true;
try {
var staleFamilies = new Set();
var updatedFamilies = new Set();
var updates = pendingUpdates;
pendingUpdates = [];
updates.forEach(function(_ref) {
var family = _ref[0], nextType = _ref[1];
// Now that we got a real edit, we can create associations
// that will be read by the React reconciler.
var prevType = family.current;
updatedFamiliesByType.set(prevType, family);
updatedFamiliesByType.set(nextType, family);
family.current = nextType; // Determine whether this should be a re-render or a re-mount.
if (canPreserveStateBetween(prevType, nextType)) {
updatedFamilies.add(family);
} else {
staleFamilies.add(family);
}
}); // TODO: rename these fields to something more meaningful.
var update = {
updatedFamilies: updatedFamilies,
// Families that will re-render preserving state
staleFamilies: staleFamilies // Families that will be remounted
};
helpersByRendererID.forEach(function(helpers) {
// Even if there are no roots, set the handler on first update.
// This ensures that if *new* roots are mounted, they'll use the resolve handler.
helpers.setRefreshHandler(resolveFamily);
});
var didError = false;
var firstError = null; // We snapshot maps and sets that are mutated during commits.
// If we don't do this, there is a risk they will be mutated while
// we iterate over them. For example, trying to recover a failed root
// may cause another root to be added to the failed list -- an infinite loop.
var failedRootsSnapshot = cloneSet(failedRoots);
var mountedRootsSnapshot = cloneSet(mountedRoots);
var helpersByRootSnapshot = cloneMap(helpersByRoot);
failedRootsSnapshot.forEach(function(root) {
var helpers = helpersByRootSnapshot.get(root);
if (helpers === undefined) {
throw new Error('Could not find helpers for a root. This is a bug in React Refresh.');
}
if (!failedRoots.has(root)) {}
if (rootElements === null) {
return;
}
if (!rootElements.has(root)) {
return;
}
var element = rootElements.get(root);
try {
helpers.scheduleRoot(root, element);
} catch (err) {
if (!didError) {
didError = true;
firstError = err;
} // Keep trying other roots.
}
});
mountedRootsSnapshot.forEach(function(root) {
var helpers = helpersByRootSnapshot.get(root);
if (helpers === undefined) {
throw new Error('Could not find helpers for a root. This is a bug in React Refresh.');
}
if (!mountedRoots.has(root)) {}
try {
helpers.scheduleRefresh(root, update);
} catch (err) {
if (!didError) {
didError = true;
firstError = err;
} // Keep trying other roots.
}
});
if (didError) {
throw firstError;
}
return update;
} finally{
isPerformingRefresh = false;
}
}
function register(type, id) {
{
if (type === null) {
return;
}
if (typeof type !== 'function' && typeof type !== 'object') {
return;
} // This can happen in an edge case, e.g. if we register
// return value of a HOC but it returns a cached component.
// Ignore anything but the first registration for each type.
if (allFamiliesByType.has(type)) {
return;
} // Create family or remember to update it.
// None of this bookkeeping affects reconciliation
// until the first performReactRefresh() call above.
var family = allFamiliesByID.get(id);
if (family === undefined) {
family = {
current: type
};
allFamiliesByID.set(id, family);
} else {
pendingUpdates.push([
family,
type
]);
}
allFamiliesByType.set(type, family); // Visit inner types because we might not have registered them.
if (typeof type === 'object' && type !== null) {
switch(getProperty(type, '$$typeof')){
case REACT_FORWARD_REF_TYPE:
register(type.render, id + '$render');
break;
case REACT_MEMO_TYPE:
register(type.type, id + '$type');
break;
}
}
}
}
function setSignature(type, key) {
var forceReset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
var getCustomHooks = arguments.length > 3 ? arguments[3] : undefined;
{
if (!allSignaturesByType.has(type)) {
allSignaturesByType.set(type, {
forceReset: forceReset,
ownKey: key,
fullKey: null,
getCustomHooks: getCustomHooks || function() {
return [];
}
});
} // Visit inner types because we might not have signed them.
if (typeof type === 'object' && type !== null) {
switch(getProperty(type, '$$typeof')){
case REACT_FORWARD_REF_TYPE:
setSignature(type.render, key, forceReset, getCustomHooks);
break;
case REACT_MEMO_TYPE:
setSignature(type.type, key, forceReset, getCustomHooks);
break;
}
}
}
} // This is lazily called during first render for a type.
// It captures Hook list at that time so inline requires don't break comparisons.
function collectCustomHooksForSignature(type) {
{
var signature = allSignaturesByType.get(type);
if (signature !== undefined) {
computeFullKey(signature);
}
}
}
function getFamilyByID(id) {
{
return allFamiliesByID.get(id);
}
}
function getFamilyByType(type) {
{
return allFamiliesByType.get(type);
}
}
function findAffectedHostInstances(families) {
{
var affectedInstances = new Set();
mountedRoots.forEach(function(root) {
var helpers = helpersByRoot.get(root);
if (helpers === undefined) {
throw new Error('Could not find helpers for a root. This is a bug in React Refresh.');
}
var instancesForRoot = helpers.findHostInstancesForRefresh(root, families);
instancesForRoot.forEach(function(inst) {
affectedInstances.add(inst);
});
});
return affectedInstances;
}
}
function injectIntoGlobalHook(globalObject) {
{
// For React Native, the global hook will be set up by require('react-devtools-core').
// That code will run before us. So we need to monkeypatch functions on existing hook.
// For React Web, the global hook will be set up by the extension.
// This will also run before us.
var hook = globalObject.__REACT_DEVTOOLS_GLOBAL_HOOK__;
if (hook === undefined) {
// However, if there is no DevTools extension, we'll need to set up the global hook ourselves.
// Note that in this case it's important that renderer code runs *after* this method call.
// Otherwise, the renderer will think that there is no global hook, and won't do the injection.
var nextID = 0;
globalObject.__REACT_DEVTOOLS_GLOBAL_HOOK__ = hook = {
renderers: new Map(),
supportsFiber: true,
inject: function(injected) {
return nextID++;
},
onScheduleFiberRoot: function(id, root, children) {},
onCommitFiberRoot: function(id, root, maybePriorityLevel, didError) {},
onCommitFiberUnmount: function() {}
};
}
if (hook.isDisabled) {
// This isn't a real property on the hook, but it can be set to opt out
// of DevTools integration and associated warnings and logs.
// Using console['warn'] to evade Babel and ESLint
console['warn']('Something has shimmed the React DevTools global hook (__REACT_DEVTOOLS_GLOBAL_HOOK__). ' + 'Fast Refresh is not compatible with this shim and will be disabled.');
return;
} // Here, we just want to get a reference to scheduleRefresh.
var oldInject = hook.inject;
hook.inject = function(injected) {
var id = oldInject.apply(this, arguments);
if (typeof injected.scheduleRefresh === 'function' && typeof injected.setRefreshHandler === 'function') {
// This version supports React Refresh.
helpersByRendererID.set(id, injected);
}
return id;
}; // Do the same for any already injected roots.
// This is useful if ReactDOM has already been initialized.
// https://github.com/facebook/react/issues/17626
hook.renderers.forEach(function(injected, id) {
if (typeof injected.scheduleRefresh === 'function' && typeof injected.setRefreshHandler === 'function') {
// This version supports React Refresh.
helpersByRendererID.set(id, injected);
}
}); // We also want to track currently mounted roots.
var oldOnCommitFiberRoot = hook.onCommitFiberRoot;
var oldOnScheduleFiberRoot = hook.onScheduleFiberRoot || function() {};
hook.onScheduleFiberRoot = function(id, root, children) {
if (!isPerformingRefresh) {
// If it was intentionally scheduled, don't attempt to restore.
// This includes intentionally scheduled unmounts.
failedRoots.delete(root);
if (rootElements !== null) {
rootElements.set(root, children);
}
}
return oldOnScheduleFiberRoot.apply(this, arguments);
};
hook.onCommitFiberRoot = function(id, root, maybePriorityLevel, didError) {
var helpers = helpersByRendererID.get(id);
if (helpers !== undefined) {
helpersByRoot.set(root, helpers);
var current = root.current;
var alternate = current.alternate; // We need to determine whether this root has just (un)mounted.
// This logic is copy-pasted from similar logic in the DevTools backend.
// If this breaks with some refactoring, you'll want to update DevTools too.
if (alternate !== null) {
var wasMounted = alternate.memoizedState != null && alternate.memoizedState.element != null && mountedRoots.has(root);
var isMounted = current.memoizedState != null && current.memoizedState.element != null;
if (!wasMounted && isMounted) {
// Mount a new root.
mountedRoots.add(root);
failedRoots.delete(root);
} else if (wasMounted && isMounted) ;
else if (wasMounted && !isMounted) {
// Unmount an existing root.
mountedRoots.delete(root);
if (didError) {
// We'll remount it on future edits.
failedRoots.add(root);
} else {
helpersByRoot.delete(root);
}
} else if (!wasMounted && !isMounted) {
if (didError) {
// We'll remount it on future edits.
failedRoots.add(root);
}
}
} else {
// Mount a new root.
mountedRoots.add(root);
}
} // Always call the decorated DevTools hook.
return oldOnCommitFiberRoot.apply(this, arguments);
};
}
}
function hasUnrecoverableErrors() {
// TODO: delete this after removing dependency in RN.
return false;
} // Exposed for testing.
function _getMountedRootCount() {
{
return mountedRoots.size;
}
} // This is a wrapper over more primitive functions for setting signature.
// Signatures let us decide whether the Hook order has changed on refresh.
//
// This function is intended to be used as a transform target, e.g.:
// var _s = createSignatureFunctionForTransform()
//
// function Hello() {
// const [foo, setFoo] = useState(0);
// const value = useCustomHook();
// _s(); /* Call without arguments triggers collecting the custom Hook list.
// * This doesn't happen during the module evaluation because we
// * don't want to change the module order with inline requires.
// * Next calls are noops. */
// return
Hi
;
// }
//
// /* Call with arguments attaches the signature to the type: */
// _s(
// Hello,
// 'useState{[foo, setFoo]}(0)',
// () => [useCustomHook], /* Lazy to avoid triggering inline requires */
// );
function createSignatureFunctionForTransform() {
{
var savedType;
var hasCustomHooks;
var didCollectHooks = false;
return function(type, key, forceReset, getCustomHooks) {
if (typeof key === 'string') {
// We're in the initial phase that associates signatures
// with the functions. Note this may be called multiple times
// in HOC chains like _s(hoc1(_s(hoc2(_s(actualFunction))))).
if (!savedType) {
// We're in the innermost call, so this is the actual type.
savedType = type;
hasCustomHooks = typeof getCustomHooks === 'function';
} // Set the signature for all types (even wrappers!) in case
// they have no signatures of their own. This is to prevent
// problems like https://github.com/facebook/react/issues/20417.
if (type != null && (typeof type === 'function' || typeof type === 'object')) {
setSignature(type, key, forceReset, getCustomHooks);
}
return type;
} else {
// We're in the _s() call without arguments, which means
// this is the time to collect custom Hook signatures.
// Only do this once. This path is hot and runs *inside* every render!
if (!didCollectHooks && hasCustomHooks) {
didCollectHooks = true;
collectCustomHooksForSignature(savedType);
}
}
};
}
}
function isLikelyComponentType(type) {
{
switch(typeof type){
case 'function':
{
// First, deal with classes.
if (type.prototype != null) {
if (type.prototype.isReactComponent) {
// React class.
return true;
}
var ownNames = Object.getOwnPropertyNames(type.prototype);
if (ownNames.length > 1 || ownNames[0] !== 'constructor') {
// This looks like a class.
return false;
} // eslint-disable-next-line no-proto
if (type.prototype.__proto__ !== Object.prototype) {
// It has a superclass.
return false;
} // Pass through.
// This looks like a regular function with empty prototype.
} // For plain functions and arrows, use name as a heuristic.
var name = type.name || type.displayName;
return typeof name === 'string' && /^[A-Z]/.test(name);
}
case 'object':
{
if (type != null) {
switch(getProperty(type, '$$typeof')){
case REACT_FORWARD_REF_TYPE:
case REACT_MEMO_TYPE:
// Definitely React components.
return true;
default:
return false;
}
}
return false;
}
default:
{
return false;
}
}
}
}
exports._getMountedRootCount = _getMountedRootCount;
exports.collectCustomHooksForSignature = collectCustomHooksForSignature;
exports.createSignatureFunctionForTransform = createSignatureFunctionForTransform;
exports.findAffectedHostInstances = findAffectedHostInstances;
exports.getFamilyByID = getFamilyByID;
exports.getFamilyByType = getFamilyByType;
exports.hasUnrecoverableErrors = hasUnrecoverableErrors;
exports.injectIntoGlobalHook = injectIntoGlobalHook;
exports.isLikelyComponentType = isLikelyComponentType;
exports.performReactRefresh = performReactRefresh;
exports.register = register;
exports.setSignature = setSignature;
})();
}
}),
"[project]/node_modules/next/dist/compiled/react-refresh/runtime.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
"use strict";
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [client] (ecmascript)");
'use strict';
if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable
;
else {
module.exports = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-refresh/cjs/react-refresh-runtime.development.js [client] (ecmascript)");
}
}),
"[project]/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/internal/helpers.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
"use strict";
/**
* MIT License
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/ var __importDefault = /*TURBOPACK member replacement*/ __turbopack_context__.e && /*TURBOPACK member replacement*/ __turbopack_context__.e.__importDefault || function(mod) {
return mod && mod.__esModule ? mod : {
"default": mod
};
};
Object.defineProperty(exports, "__esModule", {
value: true
});
// This file is copied from the Metro JavaScript bundler, with minor tweaks for
// webpack 4 compatibility.
//
// https://github.com/facebook/metro/blob/d6b9685c730d0d63577db40f41369157f28dfa3a/packages/metro/src/lib/polyfills/require.js
const runtime_1 = __importDefault(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-refresh/runtime.js [client] (ecmascript)"));
function isSafeExport(key) {
return key === '__esModule' || key === '__N_SSG' || key === '__N_SSP' || // TODO: remove this key from page config instead of allow listing it
key === 'config';
}
function registerExportsForReactRefresh(moduleExports, moduleID) {
runtime_1.default.register(moduleExports, moduleID + ' %exports%');
if (moduleExports == null || typeof moduleExports !== 'object') {
// Exit if we can't iterate over exports.
// (This is important for legacy environments.)
return;
}
for(var key in moduleExports){
if (isSafeExport(key)) {
continue;
}
try {
var exportValue = moduleExports[key];
} catch (_a) {
continue;
}
var typeID = moduleID + ' %exports% ' + key;
runtime_1.default.register(exportValue, typeID);
}
}
function getRefreshBoundarySignature(moduleExports) {
var signature = [];
signature.push(runtime_1.default.getFamilyByType(moduleExports));
if (moduleExports == null || typeof moduleExports !== 'object') {
// Exit if we can't iterate over exports.
// (This is important for legacy environments.)
return signature;
}
for(var key in moduleExports){
if (isSafeExport(key)) {
continue;
}
try {
var exportValue = moduleExports[key];
} catch (_a) {
continue;
}
signature.push(key);
signature.push(runtime_1.default.getFamilyByType(exportValue));
}
return signature;
}
function isReactRefreshBoundary(moduleExports) {
if (runtime_1.default.isLikelyComponentType(moduleExports)) {
return true;
}
if (moduleExports == null || typeof moduleExports !== 'object') {
// Exit if we can't iterate over exports.
return false;
}
var hasExports = false;
var areAllExportsComponents = true;
for(var key in moduleExports){
hasExports = true;
if (isSafeExport(key)) {
continue;
}
try {
var exportValue = moduleExports[key];
} catch (_a) {
// This might fail due to circular dependencies
return false;
}
if (!runtime_1.default.isLikelyComponentType(exportValue)) {
areAllExportsComponents = false;
}
}
return hasExports && areAllExportsComponents;
}
function shouldInvalidateReactRefreshBoundary(prevSignature, nextSignature) {
if (prevSignature.length !== nextSignature.length) {
return true;
}
for(var i = 0; i < nextSignature.length; i++){
if (prevSignature[i] !== nextSignature[i]) {
return true;
}
}
return false;
}
var isUpdateScheduled = false;
// This function aggregates updates from multiple modules into a single React Refresh call.
function scheduleUpdate() {
if (isUpdateScheduled) {
return;
}
isUpdateScheduled = true;
function canApplyUpdate(status) {
return status === 'idle';
}
function applyUpdate() {
isUpdateScheduled = false;
try {
runtime_1.default.performReactRefresh();
} catch (err) {
console.warn('Warning: Failed to re-render. We will retry on the next Fast Refresh event.\n' + err);
}
}
if (canApplyUpdate(module.hot.status())) {
// Apply update on the next tick.
Promise.resolve().then(()=>{
applyUpdate();
});
return;
}
const statusHandler = (status)=>{
if (canApplyUpdate(status)) {
module.hot.removeStatusHandler(statusHandler);
applyUpdate();
}
};
// Apply update once the HMR runtime's status is idle.
module.hot.addStatusHandler(statusHandler);
}
// Needs to be compatible with IE11
exports.default = {
registerExportsForReactRefresh: registerExportsForReactRefresh,
isReactRefreshBoundary: isReactRefreshBoundary,
shouldInvalidateReactRefreshBoundary: shouldInvalidateReactRefreshBoundary,
getRefreshBoundarySignature: getRefreshBoundarySignature,
scheduleUpdate: scheduleUpdate
}; //# sourceMappingURL=helpers.js.map
}),
"[project]/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/runtime.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
"use strict";
var __importDefault = /*TURBOPACK member replacement*/ __turbopack_context__.e && /*TURBOPACK member replacement*/ __turbopack_context__.e.__importDefault || function(mod) {
return mod && mod.__esModule ? mod : {
"default": mod
};
};
Object.defineProperty(exports, "__esModule", {
value: true
});
const runtime_1 = __importDefault(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-refresh/runtime.js [client] (ecmascript)"));
const helpers_1 = __importDefault(__turbopack_context__.r("[project]/node_modules/next/dist/compiled/@next/react-refresh-utils/dist/internal/helpers.js [client] (ecmascript)"));
// Hook into ReactDOM initialization
runtime_1.default.injectIntoGlobalHook(self);
// Register global helpers
self.$RefreshHelpers$ = helpers_1.default;
// Register a helper for module execution interception
self.$RefreshInterceptModuleExecution$ = function(webpackModuleId) {
var prevRefreshReg = self.$RefreshReg$;
var prevRefreshSig = self.$RefreshSig$;
self.$RefreshReg$ = function(type, id) {
runtime_1.default.register(type, webpackModuleId + ' ' + id);
};
self.$RefreshSig$ = runtime_1.default.createSignatureFunctionForTransform;
// Modeled after `useEffect` cleanup pattern:
// https://react.dev/learn/synchronizing-with-effects#step-3-add-cleanup-if-needed
return function() {
self.$RefreshReg$ = prevRefreshReg;
self.$RefreshSig$ = prevRefreshSig;
};
}; //# sourceMappingURL=runtime.js.map
}),
"[project]/node_modules/next/dist/compiled/path-to-regexp/index.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
(()=>{
"use strict";
if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = ("TURBOPACK compile-time value", "/ROOT/node_modules/next/dist/compiled/path-to-regexp") + "/";
var e = {};
(()=>{
var n = e;
Object.defineProperty(n, "__esModule", {
value: true
});
n.pathToRegexp = n.tokensToRegexp = n.regexpToFunction = n.match = n.tokensToFunction = n.compile = n.parse = void 0;
function lexer(e) {
var n = [];
var r = 0;
while(r < e.length){
var t = e[r];
if (t === "*" || t === "+" || t === "?") {
n.push({
type: "MODIFIER",
index: r,
value: e[r++]
});
continue;
}
if (t === "\\") {
n.push({
type: "ESCAPED_CHAR",
index: r++,
value: e[r++]
});
continue;
}
if (t === "{") {
n.push({
type: "OPEN",
index: r,
value: e[r++]
});
continue;
}
if (t === "}") {
n.push({
type: "CLOSE",
index: r,
value: e[r++]
});
continue;
}
if (t === ":") {
var a = "";
var i = r + 1;
while(i < e.length){
var o = e.charCodeAt(i);
if (o >= 48 && o <= 57 || o >= 65 && o <= 90 || o >= 97 && o <= 122 || o === 95) {
a += e[i++];
continue;
}
break;
}
if (!a) throw new TypeError("Missing parameter name at ".concat(r));
n.push({
type: "NAME",
index: r,
value: a
});
r = i;
continue;
}
if (t === "(") {
var c = 1;
var f = "";
var i = r + 1;
if (e[i] === "?") {
throw new TypeError('Pattern cannot start with "?" at '.concat(i));
}
while(i < e.length){
if (e[i] === "\\") {
f += e[i++] + e[i++];
continue;
}
if (e[i] === ")") {
c--;
if (c === 0) {
i++;
break;
}
} else if (e[i] === "(") {
c++;
if (e[i + 1] !== "?") {
throw new TypeError("Capturing groups are not allowed at ".concat(i));
}
}
f += e[i++];
}
if (c) throw new TypeError("Unbalanced pattern at ".concat(r));
if (!f) throw new TypeError("Missing pattern at ".concat(r));
n.push({
type: "PATTERN",
index: r,
value: f
});
r = i;
continue;
}
n.push({
type: "CHAR",
index: r,
value: e[r++]
});
}
n.push({
type: "END",
index: r,
value: ""
});
return n;
}
function parse(e, n) {
if (n === void 0) {
n = {};
}
var r = lexer(e);
var t = n.prefixes, a = t === void 0 ? "./" : t, i = n.delimiter, o = i === void 0 ? "/#?" : i;
var c = [];
var f = 0;
var u = 0;
var p = "";
var tryConsume = function(e) {
if (u < r.length && r[u].type === e) return r[u++].value;
};
var mustConsume = function(e) {
var n = tryConsume(e);
if (n !== undefined) return n;
var t = r[u], a = t.type, i = t.index;
throw new TypeError("Unexpected ".concat(a, " at ").concat(i, ", expected ").concat(e));
};
var consumeText = function() {
var e = "";
var n;
while(n = tryConsume("CHAR") || tryConsume("ESCAPED_CHAR")){
e += n;
}
return e;
};
var isSafe = function(e) {
for(var n = 0, r = o; n < r.length; n++){
var t = r[n];
if (e.indexOf(t) > -1) return true;
}
return false;
};
var safePattern = function(e) {
var n = c[c.length - 1];
var r = e || (n && typeof n === "string" ? n : "");
if (n && !r) {
throw new TypeError('Must have text between two parameters, missing text after "'.concat(n.name, '"'));
}
if (!r || isSafe(r)) return "[^".concat(escapeString(o), "]+?");
return "(?:(?!".concat(escapeString(r), ")[^").concat(escapeString(o), "])+?");
};
while(u < r.length){
var v = tryConsume("CHAR");
var s = tryConsume("NAME");
var d = tryConsume("PATTERN");
if (s || d) {
var g = v || "";
if (a.indexOf(g) === -1) {
p += g;
g = "";
}
if (p) {
c.push(p);
p = "";
}
c.push({
name: s || f++,
prefix: g,
suffix: "",
pattern: d || safePattern(g),
modifier: tryConsume("MODIFIER") || ""
});
continue;
}
var x = v || tryConsume("ESCAPED_CHAR");
if (x) {
p += x;
continue;
}
if (p) {
c.push(p);
p = "";
}
var h = tryConsume("OPEN");
if (h) {
var g = consumeText();
var l = tryConsume("NAME") || "";
var m = tryConsume("PATTERN") || "";
var T = consumeText();
mustConsume("CLOSE");
c.push({
name: l || (m ? f++ : ""),
pattern: l && !m ? safePattern(g) : m,
prefix: g,
suffix: T,
modifier: tryConsume("MODIFIER") || ""
});
continue;
}
mustConsume("END");
}
return c;
}
n.parse = parse;
function compile(e, n) {
return tokensToFunction(parse(e, n), n);
}
n.compile = compile;
function tokensToFunction(e, n) {
if (n === void 0) {
n = {};
}
var r = flags(n);
var t = n.encode, a = t === void 0 ? function(e) {
return e;
} : t, i = n.validate, o = i === void 0 ? true : i;
var c = e.map(function(e) {
if (typeof e === "object") {
return new RegExp("^(?:".concat(e.pattern, ")$"), r);
}
});
return function(n) {
var r = "";
for(var t = 0; t < e.length; t++){
var i = e[t];
if (typeof i === "string") {
r += i;
continue;
}
var f = n ? n[i.name] : undefined;
var u = i.modifier === "?" || i.modifier === "*";
var p = i.modifier === "*" || i.modifier === "+";
if (Array.isArray(f)) {
if (!p) {
throw new TypeError('Expected "'.concat(i.name, '" to not repeat, but got an array'));
}
if (f.length === 0) {
if (u) continue;
throw new TypeError('Expected "'.concat(i.name, '" to not be empty'));
}
for(var v = 0; v < f.length; v++){
var s = a(f[v], i);
if (o && !c[t].test(s)) {
throw new TypeError('Expected all "'.concat(i.name, '" to match "').concat(i.pattern, '", but got "').concat(s, '"'));
}
r += i.prefix + s + i.suffix;
}
continue;
}
if (typeof f === "string" || typeof f === "number") {
var s = a(String(f), i);
if (o && !c[t].test(s)) {
throw new TypeError('Expected "'.concat(i.name, '" to match "').concat(i.pattern, '", but got "').concat(s, '"'));
}
r += i.prefix + s + i.suffix;
continue;
}
if (u) continue;
var d = p ? "an array" : "a string";
throw new TypeError('Expected "'.concat(i.name, '" to be ').concat(d));
}
return r;
};
}
n.tokensToFunction = tokensToFunction;
function match(e, n) {
var r = [];
var t = pathToRegexp(e, r, n);
return regexpToFunction(t, r, n);
}
n.match = match;
function regexpToFunction(e, n, r) {
if (r === void 0) {
r = {};
}
var t = r.decode, a = t === void 0 ? function(e) {
return e;
} : t;
return function(r) {
var t = e.exec(r);
if (!t) return false;
var i = t[0], o = t.index;
var c = Object.create(null);
var _loop_1 = function(e) {
if (t[e] === undefined) return "continue";
var r = n[e - 1];
if (r.modifier === "*" || r.modifier === "+") {
c[r.name] = t[e].split(r.prefix + r.suffix).map(function(e) {
return a(e, r);
});
} else {
c[r.name] = a(t[e], r);
}
};
for(var f = 1; f < t.length; f++){
_loop_1(f);
}
return {
path: i,
index: o,
params: c
};
};
}
n.regexpToFunction = regexpToFunction;
function escapeString(e) {
return e.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1");
}
function flags(e) {
return e && e.sensitive ? "" : "i";
}
function regexpToRegexp(e, n) {
if (!n) return e;
var r = /\((?:\?<(.*?)>)?(?!\?)/g;
var t = 0;
var a = r.exec(e.source);
while(a){
n.push({
name: a[1] || t++,
prefix: "",
suffix: "",
modifier: "",
pattern: ""
});
a = r.exec(e.source);
}
return e;
}
function arrayToRegexp(e, n, r) {
var t = e.map(function(e) {
return pathToRegexp(e, n, r).source;
});
return new RegExp("(?:".concat(t.join("|"), ")"), flags(r));
}
function stringToRegexp(e, n, r) {
return tokensToRegexp(parse(e, r), n, r);
}
function tokensToRegexp(e, n, r) {
if (r === void 0) {
r = {};
}
var t = r.strict, a = t === void 0 ? false : t, i = r.start, o = i === void 0 ? true : i, c = r.end, f = c === void 0 ? true : c, u = r.encode, p = u === void 0 ? function(e) {
return e;
} : u, v = r.delimiter, s = v === void 0 ? "/#?" : v, d = r.endsWith, g = d === void 0 ? "" : d;
var x = "[".concat(escapeString(g), "]|$");
var h = "[".concat(escapeString(s), "]");
var l = o ? "^" : "";
for(var m = 0, T = e; m < T.length; m++){
var E = T[m];
if (typeof E === "string") {
l += escapeString(p(E));
} else {
var w = escapeString(p(E.prefix));
var y = escapeString(p(E.suffix));
if (E.pattern) {
if (n) n.push(E);
if (w || y) {
if (E.modifier === "+" || E.modifier === "*") {
var R = E.modifier === "*" ? "?" : "";
l += "(?:".concat(w, "((?:").concat(E.pattern, ")(?:").concat(y).concat(w, "(?:").concat(E.pattern, "))*)").concat(y, ")").concat(R);
} else {
l += "(?:".concat(w, "(").concat(E.pattern, ")").concat(y, ")").concat(E.modifier);
}
} else {
if (E.modifier === "+" || E.modifier === "*") {
throw new TypeError('Can not repeat "'.concat(E.name, '" without a prefix and suffix'));
}
l += "(".concat(E.pattern, ")").concat(E.modifier);
}
} else {
l += "(?:".concat(w).concat(y, ")").concat(E.modifier);
}
}
}
if (f) {
if (!a) l += "".concat(h, "?");
l += !r.endsWith ? "$" : "(?=".concat(x, ")");
} else {
var A = e[e.length - 1];
var _ = typeof A === "string" ? h.indexOf(A[A.length - 1]) > -1 : A === undefined;
if (!a) {
l += "(?:".concat(h, "(?=").concat(x, "))?");
}
if (!_) {
l += "(?=".concat(h, "|").concat(x, ")");
}
}
return new RegExp(l, flags(r));
}
n.tokensToRegexp = tokensToRegexp;
function pathToRegexp(e, n, r) {
if (e instanceof RegExp) return regexpToRegexp(e, n);
if (Array.isArray(e)) return arrayToRegexp(e, n, r);
return stringToRegexp(e, n, r);
}
n.pathToRegexp = pathToRegexp;
})();
module.exports = e;
})();
}),
"[project]/node_modules/next/dist/compiled/react-is/cjs/react-is.development.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
"use strict";
/**
* @license React
* react-is.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [client] (ecmascript)");
"use strict";
"production" !== ("TURBOPACK compile-time value", "development") && function() {
function typeOf(object) {
if ("object" === typeof object && null !== object) {
var $$typeof = object.$$typeof;
switch($$typeof){
case REACT_ELEMENT_TYPE:
switch(object = object.type, object){
case REACT_FRAGMENT_TYPE:
case REACT_PROFILER_TYPE:
case REACT_STRICT_MODE_TYPE:
case REACT_SUSPENSE_TYPE:
case REACT_SUSPENSE_LIST_TYPE:
case REACT_VIEW_TRANSITION_TYPE:
return object;
default:
switch(object = object && object.$$typeof, object){
case REACT_CONTEXT_TYPE:
case REACT_FORWARD_REF_TYPE:
case REACT_LAZY_TYPE:
case REACT_MEMO_TYPE:
return object;
case REACT_CONSUMER_TYPE:
return object;
default:
return $$typeof;
}
}
case REACT_PORTAL_TYPE:
return $$typeof;
}
}
}
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
exports.ContextConsumer = REACT_CONSUMER_TYPE;
exports.ContextProvider = REACT_CONTEXT_TYPE;
exports.Element = REACT_ELEMENT_TYPE;
exports.ForwardRef = REACT_FORWARD_REF_TYPE;
exports.Fragment = REACT_FRAGMENT_TYPE;
exports.Lazy = REACT_LAZY_TYPE;
exports.Memo = REACT_MEMO_TYPE;
exports.Portal = REACT_PORTAL_TYPE;
exports.Profiler = REACT_PROFILER_TYPE;
exports.StrictMode = REACT_STRICT_MODE_TYPE;
exports.Suspense = REACT_SUSPENSE_TYPE;
exports.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
exports.isContextConsumer = function(object) {
return typeOf(object) === REACT_CONSUMER_TYPE;
};
exports.isContextProvider = function(object) {
return typeOf(object) === REACT_CONTEXT_TYPE;
};
exports.isElement = function(object) {
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
};
exports.isForwardRef = function(object) {
return typeOf(object) === REACT_FORWARD_REF_TYPE;
};
exports.isFragment = function(object) {
return typeOf(object) === REACT_FRAGMENT_TYPE;
};
exports.isLazy = function(object) {
return typeOf(object) === REACT_LAZY_TYPE;
};
exports.isMemo = function(object) {
return typeOf(object) === REACT_MEMO_TYPE;
};
exports.isPortal = function(object) {
return typeOf(object) === REACT_PORTAL_TYPE;
};
exports.isProfiler = function(object) {
return typeOf(object) === REACT_PROFILER_TYPE;
};
exports.isStrictMode = function(object) {
return typeOf(object) === REACT_STRICT_MODE_TYPE;
};
exports.isSuspense = function(object) {
return typeOf(object) === REACT_SUSPENSE_TYPE;
};
exports.isSuspenseList = function(object) {
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
};
exports.isValidElementType = function(type) {
return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? !0 : !1;
};
exports.typeOf = typeOf;
}();
}),
"[project]/node_modules/next/dist/compiled/react-is/index.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
"use strict";
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/next/dist/build/polyfills/process.js [client] (ecmascript)");
'use strict';
if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable
;
else {
module.exports = __turbopack_context__.r("[project]/node_modules/next/dist/compiled/react-is/cjs/react-is.development.js [client] (ecmascript)");
}
}),
"[project]/node_modules/next/dist/compiled/safe-stable-stringify/index.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
(function() {
"use strict";
var e = {
879: function(e, t) {
const { hasOwnProperty: n } = Object.prototype;
const r = configure();
r.configure = configure;
r.stringify = r;
r.default = r;
t.stringify = r;
t.configure = configure;
e.exports = r;
const i = /[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;
function strEscape(e) {
if (e.length < 5e3 && !i.test(e)) {
return '"'.concat(e, '"');
}
return JSON.stringify(e);
}
function sort(e, t) {
if (e.length > 200 || t) {
return e.sort(t);
}
for(let t = 1; t < e.length; t++){
const n = e[t];
let r = t;
while(r !== 0 && e[r - 1] > n){
e[r] = e[r - 1];
r--;
}
e[r] = n;
}
return e;
}
const f = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)), Symbol.toStringTag).get;
function isTypedArrayWithEntries(e) {
return f.call(e) !== undefined && e.length !== 0;
}
function stringifyTypedArray(e, t, n) {
if (e.length < n) {
n = e.length;
}
const r = t === "," ? "" : " ";
let i = '"0":'.concat(r).concat(e[0]);
for(let f = 1; f < n; f++){
i += "".concat(t, '"').concat(f, '":').concat(r).concat(e[f]);
}
return i;
}
function getCircularValueOption(e) {
if (n.call(e, "circularValue")) {
const t = e.circularValue;
if (typeof t === "string") {
return '"'.concat(t, '"');
}
if (t == null) {
return t;
}
if (t === Error || t === TypeError) {
return {
toString () {
throw new TypeError("Converting circular structure to JSON");
}
};
}
throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined');
}
return '"[Circular]"';
}
function getDeterministicOption(e) {
let t;
if (n.call(e, "deterministic")) {
t = e.deterministic;
if (typeof t !== "boolean" && typeof t !== "function") {
throw new TypeError('The "deterministic" argument must be of type boolean or comparator function');
}
}
return t === undefined ? true : t;
}
function getBooleanOption(e, t) {
let r;
if (n.call(e, t)) {
r = e[t];
if (typeof r !== "boolean") {
throw new TypeError('The "'.concat(t, '" argument must be of type boolean'));
}
}
return r === undefined ? true : r;
}
function getPositiveIntegerOption(e, t) {
let r;
if (n.call(e, t)) {
r = e[t];
if (typeof r !== "number") {
throw new TypeError('The "'.concat(t, '" argument must be of type number'));
}
if (!Number.isInteger(r)) {
throw new TypeError('The "'.concat(t, '" argument must be an integer'));
}
if (r < 1) {
throw new RangeError('The "'.concat(t, '" argument must be >= 1'));
}
}
return r === undefined ? Infinity : r;
}
function getItemCount(e) {
if (e === 1) {
return "1 item";
}
return "".concat(e, " items");
}
function getUniqueReplacerSet(e) {
const t = new Set;
for (const n of e){
if (typeof n === "string" || typeof n === "number") {
t.add(String(n));
}
}
return t;
}
function getStrictOption(e) {
if (n.call(e, "strict")) {
const t = e.strict;
if (typeof t !== "boolean") {
throw new TypeError('The "strict" argument must be of type boolean');
}
if (t) {
return (e)=>{
let t = "Object can not safely be stringified. Received type ".concat(typeof e);
if (typeof e !== "function") t += " (".concat(e.toString(), ")");
throw new Error(t);
};
}
}
}
function configure(e) {
e = {
...e
};
const t = getStrictOption(e);
if (t) {
if (e.bigint === undefined) {
e.bigint = false;
}
if (!("circularValue" in e)) {
e.circularValue = Error;
}
}
const n = getCircularValueOption(e);
const r = getBooleanOption(e, "bigint");
const i = getDeterministicOption(e);
const f = typeof i === "function" ? i : undefined;
const u = getPositiveIntegerOption(e, "maximumDepth");
const o = getPositiveIntegerOption(e, "maximumBreadth");
function stringifyFnReplacer(e, s, l, c, a, g) {
let p = s[e];
if (typeof p === "object" && p !== null && typeof p.toJSON === "function") {
p = p.toJSON(e);
}
p = c.call(s, e, p);
switch(typeof p){
case "string":
return strEscape(p);
case "object":
{
if (p === null) {
return "null";
}
if (l.indexOf(p) !== -1) {
return n;
}
let e = "";
let t = ",";
const r = g;
if (Array.isArray(p)) {
if (p.length === 0) {
return "[]";
}
if (u < l.length + 1) {
return '"[Array]"';
}
l.push(p);
if (a !== "") {
g += a;
e += "\n".concat(g);
t = ",\n".concat(g);
}
const n = Math.min(p.length, o);
let i = 0;
for(; i < n - 1; i++){
const n = stringifyFnReplacer(String(i), p, l, c, a, g);
e += n !== undefined ? n : "null";
e += t;
}
const f = stringifyFnReplacer(String(i), p, l, c, a, g);
e += f !== undefined ? f : "null";
if (p.length - 1 > o) {
const n = p.length - o - 1;
e += "".concat(t, '"... ').concat(getItemCount(n), ' not stringified"');
}
if (a !== "") {
e += "\n".concat(r);
}
l.pop();
return "[".concat(e, "]");
}
let s = Object.keys(p);
const y = s.length;
if (y === 0) {
return "{}";
}
if (u < l.length + 1) {
return '"[Object]"';
}
let d = "";
let h = "";
if (a !== "") {
g += a;
t = ",\n".concat(g);
d = " ";
}
const $ = Math.min(y, o);
if (i && !isTypedArrayWithEntries(p)) {
s = sort(s, f);
}
l.push(p);
for(let n = 0; n < $; n++){
const r = s[n];
const i = stringifyFnReplacer(r, p, l, c, a, g);
if (i !== undefined) {
e += "".concat(h).concat(strEscape(r), ":").concat(d).concat(i);
h = t;
}
}
if (y > o) {
const n = y - o;
e += "".concat(h, '"...":').concat(d, '"').concat(getItemCount(n), ' not stringified"');
h = t;
}
if (a !== "" && h.length > 1) {
e = "\n".concat(g).concat(e, "\n").concat(r);
}
l.pop();
return "{".concat(e, "}");
}
case "number":
return isFinite(p) ? String(p) : t ? t(p) : "null";
case "boolean":
return p === true ? "true" : "false";
case "undefined":
return undefined;
case "bigint":
if (r) {
return String(p);
}
default:
return t ? t(p) : undefined;
}
}
function stringifyArrayReplacer(e, i, f, s, l, c) {
if (typeof i === "object" && i !== null && typeof i.toJSON === "function") {
i = i.toJSON(e);
}
switch(typeof i){
case "string":
return strEscape(i);
case "object":
{
if (i === null) {
return "null";
}
if (f.indexOf(i) !== -1) {
return n;
}
const e = c;
let t = "";
let r = ",";
if (Array.isArray(i)) {
if (i.length === 0) {
return "[]";
}
if (u < f.length + 1) {
return '"[Array]"';
}
f.push(i);
if (l !== "") {
c += l;
t += "\n".concat(c);
r = ",\n".concat(c);
}
const n = Math.min(i.length, o);
let a = 0;
for(; a < n - 1; a++){
const e = stringifyArrayReplacer(String(a), i[a], f, s, l, c);
t += e !== undefined ? e : "null";
t += r;
}
const g = stringifyArrayReplacer(String(a), i[a], f, s, l, c);
t += g !== undefined ? g : "null";
if (i.length - 1 > o) {
const e = i.length - o - 1;
t += "".concat(r, '"... ').concat(getItemCount(e), ' not stringified"');
}
if (l !== "") {
t += "\n".concat(e);
}
f.pop();
return "[".concat(t, "]");
}
f.push(i);
let a = "";
if (l !== "") {
c += l;
r = ",\n".concat(c);
a = " ";
}
let g = "";
for (const e of s){
const n = stringifyArrayReplacer(e, i[e], f, s, l, c);
if (n !== undefined) {
t += "".concat(g).concat(strEscape(e), ":").concat(a).concat(n);
g = r;
}
}
if (l !== "" && g.length > 1) {
t = "\n".concat(c).concat(t, "\n").concat(e);
}
f.pop();
return "{".concat(t, "}");
}
case "number":
return isFinite(i) ? String(i) : t ? t(i) : "null";
case "boolean":
return i === true ? "true" : "false";
case "undefined":
return undefined;
case "bigint":
if (r) {
return String(i);
}
default:
return t ? t(i) : undefined;
}
}
function stringifyIndent(e, s, l, c, a) {
switch(typeof s){
case "string":
return strEscape(s);
case "object":
{
if (s === null) {
return "null";
}
if (typeof s.toJSON === "function") {
s = s.toJSON(e);
if (typeof s !== "object") {
return stringifyIndent(e, s, l, c, a);
}
if (s === null) {
return "null";
}
}
if (l.indexOf(s) !== -1) {
return n;
}
const t = a;
if (Array.isArray(s)) {
if (s.length === 0) {
return "[]";
}
if (u < l.length + 1) {
return '"[Array]"';
}
l.push(s);
a += c;
let e = "\n".concat(a);
const n = ",\n".concat(a);
const r = Math.min(s.length, o);
let i = 0;
for(; i < r - 1; i++){
const t = stringifyIndent(String(i), s[i], l, c, a);
e += t !== undefined ? t : "null";
e += n;
}
const f = stringifyIndent(String(i), s[i], l, c, a);
e += f !== undefined ? f : "null";
if (s.length - 1 > o) {
const t = s.length - o - 1;
e += "".concat(n, '"... ').concat(getItemCount(t), ' not stringified"');
}
e += "\n".concat(t);
l.pop();
return "[".concat(e, "]");
}
let r = Object.keys(s);
const g = r.length;
if (g === 0) {
return "{}";
}
if (u < l.length + 1) {
return '"[Object]"';
}
a += c;
const p = ",\n".concat(a);
let y = "";
let d = "";
let h = Math.min(g, o);
if (isTypedArrayWithEntries(s)) {
y += stringifyTypedArray(s, p, o);
r = r.slice(s.length);
h -= s.length;
d = p;
}
if (i) {
r = sort(r, f);
}
l.push(s);
for(let e = 0; e < h; e++){
const t = r[e];
const n = stringifyIndent(t, s[t], l, c, a);
if (n !== undefined) {
y += "".concat(d).concat(strEscape(t), ": ").concat(n);
d = p;
}
}
if (g > o) {
const e = g - o;
y += "".concat(d, '"...": "').concat(getItemCount(e), ' not stringified"');
d = p;
}
if (d !== "") {
y = "\n".concat(a).concat(y, "\n").concat(t);
}
l.pop();
return "{".concat(y, "}");
}
case "number":
return isFinite(s) ? String(s) : t ? t(s) : "null";
case "boolean":
return s === true ? "true" : "false";
case "undefined":
return undefined;
case "bigint":
if (r) {
return String(s);
}
default:
return t ? t(s) : undefined;
}
}
function stringifySimple(e, s, l) {
switch(typeof s){
case "string":
return strEscape(s);
case "object":
{
if (s === null) {
return "null";
}
if (typeof s.toJSON === "function") {
s = s.toJSON(e);
if (typeof s !== "object") {
return stringifySimple(e, s, l);
}
if (s === null) {
return "null";
}
}
if (l.indexOf(s) !== -1) {
return n;
}
let t = "";
const r = s.length !== undefined;
if (r && Array.isArray(s)) {
if (s.length === 0) {
return "[]";
}
if (u < l.length + 1) {
return '"[Array]"';
}
l.push(s);
const e = Math.min(s.length, o);
let n = 0;
for(; n < e - 1; n++){
const e = stringifySimple(String(n), s[n], l);
t += e !== undefined ? e : "null";
t += ",";
}
const r = stringifySimple(String(n), s[n], l);
t += r !== undefined ? r : "null";
if (s.length - 1 > o) {
const e = s.length - o - 1;
t += ',"... '.concat(getItemCount(e), ' not stringified"');
}
l.pop();
return "[".concat(t, "]");
}
let c = Object.keys(s);
const a = c.length;
if (a === 0) {
return "{}";
}
if (u < l.length + 1) {
return '"[Object]"';
}
let g = "";
let p = Math.min(a, o);
if (r && isTypedArrayWithEntries(s)) {
t += stringifyTypedArray(s, ",", o);
c = c.slice(s.length);
p -= s.length;
g = ",";
}
if (i) {
c = sort(c, f);
}
l.push(s);
for(let e = 0; e < p; e++){
const n = c[e];
const r = stringifySimple(n, s[n], l);
if (r !== undefined) {
t += "".concat(g).concat(strEscape(n), ":").concat(r);
g = ",";
}
}
if (a > o) {
const e = a - o;
t += "".concat(g, '"...":"').concat(getItemCount(e), ' not stringified"');
}
l.pop();
return "{".concat(t, "}");
}
case "number":
return isFinite(s) ? String(s) : t ? t(s) : "null";
case "boolean":
return s === true ? "true" : "false";
case "undefined":
return undefined;
case "bigint":
if (r) {
return String(s);
}
default:
return t ? t(s) : undefined;
}
}
function stringify(e, t, n) {
if (arguments.length > 1) {
let r = "";
if (typeof n === "number") {
r = " ".repeat(Math.min(n, 10));
} else if (typeof n === "string") {
r = n.slice(0, 10);
}
if (t != null) {
if (typeof t === "function") {
return stringifyFnReplacer("", {
"": e
}, [], t, r, "");
}
if (Array.isArray(t)) {
return stringifyArrayReplacer("", e, [], getUniqueReplacerSet(t), r, "");
}
}
if (r.length !== 0) {
return stringifyIndent("", e, [], r, "");
}
}
return stringifySimple("", e, []);
}
return stringify;
}
}
};
var t = {};
function __nccwpck_require__(n) {
var r = t[n];
if (r !== undefined) {
return r.exports;
}
var i = t[n] = {
exports: {}
};
var f = true;
try {
e[n](i, i.exports, __nccwpck_require__);
f = false;
} finally{
if (f) delete t[n];
}
return i.exports;
}
if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = ("TURBOPACK compile-time value", "/ROOT/node_modules/next/dist/compiled/safe-stable-stringify") + "/";
var n = __nccwpck_require__(879);
module.exports = n;
})();
}),
"[project]/node_modules/next/dist/compiled/strip-ansi/index.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
(()=>{
"use strict";
var e = {
511: (e)=>{
e.exports = function() {
let { onlyFirst: e = false } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
const r = [
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
].join("|");
return new RegExp(r, e ? undefined : "g");
};
},
532: (e, r, _)=>{
const t = _(511);
e.exports = (e)=>typeof e === "string" ? e.replace(t(), "") : e;
}
};
var r = {};
function __nccwpck_require__(_) {
var t = r[_];
if (t !== undefined) {
return t.exports;
}
var a = r[_] = {
exports: {}
};
var n = true;
try {
e[_](a, a.exports, __nccwpck_require__);
n = false;
} finally{
if (n) delete r[_];
}
return a.exports;
}
if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = ("TURBOPACK compile-time value", "/ROOT/node_modules/next/dist/compiled/strip-ansi") + "/";
var _ = __nccwpck_require__(532);
module.exports = _;
})();
}),
"[project]/node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js [client] (ecmascript)", ((__turbopack_context__, module, exports) => {
(()=>{
"use strict";
if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = ("TURBOPACK compile-time value", "/ROOT/node_modules/next/dist/compiled/stacktrace-parser") + "/";
var e = {};
(()=>{
var r = e;
Object.defineProperty(r, "__esModule", {
value: true
});
var n = "";
function parse(e) {
var r = e.split("\n");
return r.reduce(function(e, r) {
var n = parseChrome(r) || parseWinjs(r) || parseGecko(r) || parseNode(r) || parseJSC(r);
if (n) {
e.push(n);
}
return e;
}, []);
}
var a = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|webpack-internal|rsc|about|turbopack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
var u = /\((\S*)(?::(\d+))(?::(\d+))\)/;
function parseChrome(e) {
var r = a.exec(e);
if (!r) {
return null;
}
var l = r[2] && r[2].indexOf("native") === 0;
var t = r[2] && r[2].indexOf("eval") === 0;
var i = u.exec(r[2]);
if (t && i != null) {
r[2] = i[1];
r[3] = i[2];
r[4] = i[3];
}
return {
file: !l ? r[2] : null,
methodName: r[1] || n,
arguments: l ? [
r[2]
] : [],
lineNumber: r[3] ? +r[3] : null,
column: r[4] ? +r[4] : null
};
}
var l = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|webpack-internal|rsc|about|turbopack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
function parseWinjs(e) {
var r = l.exec(e);
if (!r) {
return null;
}
return {
file: r[2],
methodName: r[1] || n,
arguments: [],
lineNumber: +r[3],
column: r[4] ? +r[4] : null
};
}
var t = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|webpack-internal|rsc|about|turbopack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i;
var i = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
function parseGecko(e) {
var r = t.exec(e);
if (!r) {
return null;
}
var a = r[3] && r[3].indexOf(" > eval") > -1;
var u = i.exec(r[3]);
if (a && u != null) {
r[3] = u[1];
r[4] = u[2];
r[5] = null;
}
return {
file: r[3],
methodName: r[1] || n,
arguments: r[2] ? r[2].split(",") : [],
lineNumber: r[4] ? +r[4] : null,
column: r[5] ? +r[5] : null
};
}
var o = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;
function parseJSC(e) {
var r = o.exec(e);
if (!r) {
return null;
}
return {
file: r[3],
methodName: r[1] || n,
arguments: [],
lineNumber: +r[4],
column: r[5] ? +r[5] : null
};
}
var s = /^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;
function parseNode(e) {
var r = s.exec(e);
if (!r) {
return null;
}
return {
file: r[2],
methodName: r[1] || n,
arguments: [],
lineNumber: +r[3],
column: r[4] ? +r[4] : null
};
}
r.parse = parse;
})();
module.exports = e;
})();
}),
]);
//# sourceMappingURL=node_modules_next_dist_compiled_166120c5._.js.map